package com.huimark.servlet;

import javax.jws.WebMethod;
import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.context.support.SpringBeanAutowiringSupport;

import com.huimark.service.SimpleService;

@WebService
public class Account  extends SpringBeanAutowiringSupport {

	@Autowired
	SimpleService ss;

	@WebMethod
	public String check(String accno) {
		ss.count++;
		return "currentVal=" + ss.count;
	}
}
